package com.itlaobing.simple.mapper;

import com.itlaobing.simple.entity.Monkey;

import java.util.List;

public interface MapperMonkey {

    //添加
    int add(Monkey monkey);

    //查询
    Monkey find(Integer id);
    //  根据  name 查询
    Monkey findName(String name);

    List<Monkey> findAll();

    //修改
    int update(Monkey monkey);

    //删除
    int remove(int id);

}
